﻿<ul id="blogFeed"></ul>

<script type="text/javascript">
    var feedUrl = 'http://www.blogger.com/feeds/6277417149219310086/posts/default?start-index=1&redirect=false';

    function parseRSS(url, callback) {
        $.ajax({
            url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=' + encodeURIComponent(url),
            dataType: 'json',
            success: function (data) {
                callback(data.responseData.feed);
            }
        });
    }

    parseRSS(feedUrl, function (feed) {
        var max = 10;
        var idx = 0;
        $.each(feed.entries, function () {
            if (idx < max) {
                $("#blogFeed").append("<li><a href='" + this.link + "' target='_blank'>" + this.title + "</a></li>");
            }
            idx++;
        });
    });
</script>
